package com.ecmp.demo.service;

import com.ecmp.core.dao.BaseEntityDao;
import com.ecmp.core.service.BaseEntityService;
import com.ecmp.demo.api.ICommunityService;
import com.ecmp.demo.dao.CommunityDao;
import com.ecmp.demo.entity.Community;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommunityService extends BaseEntityService<Community> implements ICommunityService {

    @Autowired
    CommunityDao communityDao;

    @Override
    protected BaseEntityDao<Community> getDao() {
        return communityDao;
    }
}
